
#ifndef TRAINDATA_H
#define TRAINDATA_H

#include "Arduino.h"

class TrainData {
  public:
    TrainData(byte id, int potentiometerPort, int pushButtonPort, int ledPort);  // Constructor
    /* Methodes */
    byte getId();
    int getPotentiometerPort();
    int getPushButtonPort();
    int getLEDPort();
    // 
    static const int minPotentiometerPort = 16;
    static const int maxPotentiometerPort = 50;
    static const int minPushButtonPort = 5;
    static const int maxPushButtonPort = 50;
    static const int minLedPort = 13;
    static const int maxLedPort = 50;
    
  private:
    /* Attributs */
    byte m_id;
    int m_potentiometerPort;
    int m_pushButtonPort;
    int m_ledPort;

};

#endif /* TRAINDATA_H */

